package com.zb.view;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author WEN
 * @Date 2023/8/16 0016
 **/
@Data
@ApiModel("账号角色视图对象")
public class AccountRoleView {
    @ApiModelProperty(value = "角色ID")
    private Long id;

    @ApiModelProperty(value = "商家ID")
    private Long custAccId;

    @ApiModelProperty(value = "角色名称")
    private String name;

    @ApiModelProperty(value = "角色编码")
    private String code;

    @ApiModelProperty(value = "是否系统超管：false-否，true-是")
    private Boolean admin;

    @ApiModelProperty(value = "角色状态：false-启用，true-禁用")
    private Boolean disabled;

    @ApiModelProperty(value = "角色创建时间")
    private Date createTime;

    @ApiModelProperty(value = "角色更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "账号ID")
    private Long accountId;

}
